<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title></title>
    <script type="text/javascript" src="resources/jquery1.7.1.js"></script>
    <script type="text/javascript">
        function ShowGUID(obj) {
            alert(__GUID__);
        }

        function newTab(obj) {
            var browser = parent.DT.moduleManager.getHandler(__GUID__, 'browser');
                parent._config = {
                    title : 'Ly',
                    url  : 'world.html'
                };

            browser.swapTab(browser.newTab(parent._config).attr('id'));
        }
    </script>
</head>
<body>
<input type="button" value="ShowGUID" onclick="ShowGUID(this)" />
<input type="button" value="Open New Tab" onclick="newTab(this)" />
</body>
</html>